package com.cz.kingdee.dto;

import lombok.Data;

import java.util.List;

@Data
public class ResultWrapper {
    private Result Result;

    @Data
    public static class Result {
        private ResponseStatus ResponseStatus;
        private ConvertResponseStatus ConvertResponseStatus;
    }

    @Data
    public static class ResponseStatus {
        private boolean IsSuccess;
        private List<Object> Errors;
        private List<SuccessEntity> SuccessEntitys;
        private List<Object> SuccessMessages;
        private int MsgCode;
    }

    @Data
    public static class ConvertResponseStatus {
        private boolean IsSuccess;
        private List<Object> Errors;
        private List<Object> SuccessEntitys;
        private List<Object> SuccessMessages;
        private int MsgCode;
    }

    @Data
    public static class SuccessEntity {
        private Integer Id;
        private String Number;
        private int DIndex;
        private EntryIds EntryIds;
    }

    @Data
    public static class EntryIds {
        private List<Integer> FEntity;
    }
}
